from fastapi import APIRouter

from .user_api import router as user_router
from .role_api import router as role_router
from .menu_api import router as menu_router
from .dept_api import router as dept_router
from .api_api import router as api_router
from .agvs_api import router as agvs_router
from .auditlog_api import router as auditlog_router
from .task_api import router as tasks_router
from .map_api import router as map_router
from .order_api import router as orders_router
from .luosi_api import router as luosi_router

v1_router = APIRouter()
v1_router.include_router(user_router, tags=["用户模块"], prefix="/user")
v1_router.include_router(role_router, tags=["角色模块"], prefix="/role")
v1_router.include_router(menu_router, tags=["菜单模块"], prefix="/menu")
v1_router.include_router(dept_router, tags=["部门模块"], prefix="/dept")
v1_router.include_router(api_router, tags=["API模块"], prefix="/api")
v1_router.include_router(agvs_router, tags=["AGV模块"],prefix="/agv")
v1_router.include_router(map_router, tags=["地图模块"], prefix="/map")
v1_router.include_router(auditlog_router, tags=["审计日志模块"], prefix="/auditlog")
v1_router.include_router(tasks_router, tags=["进程模块"], prefix="/tasks")
v1_router.include_router(orders_router, tags=["订单模块"], prefix="/orders")
v1_router.include_router(luosi_router, tags=["分拣模拟模块"], prefix="/luosi")
